﻿using System;
using System.Collections.Generic;
using System.Text;

namespace hedefgrup.reports.common
{
    public class Criteria_EndMonth : Criteria_Month
    {
        public override string Name
        {
            get
            {
                return "End Month";
            }
        }

        public override string Operator
        {
            get
            {
                if (Report.GetCriteriaByName("Begin Month") == null && Report.GetCriteriaByName("Roll") == null)
                {
                    return "=";
                }
                else
                {
                    return "<=";
                }
            }
        }
    }
}
